// 这里是所有接口类

interface response {
  total?: number;
  spendTime?: string;
  code: 200 | 400 | 401 | 500;
  limit?: number;
  page?: number;
}
export interface Blog extends response {
  data: {
    id: number | string;
    title: string;
    create_time: number;
    readTime: number;
    tags: string[];
    image: string;
    excerpt: string;
  }[];
  keywords: string;
}
export interface Project extends response {
  data: {
    id: string | number;
    weigh: number;
    title: string;
    description: string;
    images: [];
    category: string;
    features: string[];
    techStack: string[];
    demoUrl: string;
    codeUrl: string;
    tags: string[];
    image: string;
  }[];
}
export interface Config {
  Introduction: string;
  link: string;
  minTitle: string;
  title: string;
  record_number: string;
  upload_cdn_url: string;
}
export interface TypewriterTexts extends response {
  data: string[];
}
export interface TechStack {
  data: {
    id: number;
    status: 0 | 1;
    create_time: number;
    name: string;
    level: number;
  }[];
}
